package com.TeamJigsaw.DanteTrail.Models;

import java.util.List;
import java.util.ArrayList;

/**
 * Represents a wagon
 * @author David Chi
 *
 */
public class Wagon {
	//TODO: Implement Wagon class
	private List<Oxen> oxen;
	
	public Wagon(){
		oxen = new ArrayList<Oxen>();
	}
	
	public void addOxen(Oxen oxen){
		this.oxen.add(oxen);
	}
	
	public List<Oxen> getOxen(){
		return oxen;
	}
	
	public int getOxenNo() {
		return oxen.size();
	}
	
	@Override
	public String toString() {
		return("This is a wagon. It has " + oxen.size() + " oxen.");
	}
}
